//
//  DetailShowModel.m
//  ZAKER
//
//  Created by dllo on 15/8/29.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "DetailShowModel.h"

@implementation DetailShowModel
-(void)dealloc
{
    
    [_urlStr release];
    [_imageUrlStr release];
    [_address release];
    [_time_str release];
    [_title release];
    [_category_name release];
    [_pos_str release];
    
    [super dealloc];
    
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

-(instancetype)initWithTitle:(NSString *)title address:(NSString *)address image:(NSString *)imageURL urlStr:(NSString *)urlStr
{
    
    self = [super init];
    
    if (self) {
        
        self.title = title;
        self.address = address;
        self.imageUrlStr = imageURL;
        self.urlStr = urlStr;
        
    }
    
    return self;
    
}

+(instancetype)holidayWithTitle:(NSString *)title address:(NSString *)address image:(NSString *)imageURL urlStr:(NSString *)urlStr
{
    
    DetailShowModel *model = [[DetailShowModel alloc]init];
    model.title = title;
    model.address = address;
    model.imageUrlStr = imageURL;
    model.urlStr = urlStr;
    
    return [model autorelease];
    
}

@end
